Hi sueann yes BR can be refused. Basically, if you are not insolvent then your petition can be refused. Providing your personal debts outweigh your personal assets, and/or your disposable income is insufficient to meet minimum monthly debt payments then, as a rule of thumb, you are insolvent. Don't worry, it's not common for petitions to be refused.
Yes it can if the judge feels that you can pay your debts! For instance this would be the case if you had ample of surplus income left available! Another reason is that someone may still be in a live IVA. The judge will ask you if you have taken professional advice of which the answer should always be yes! In fact someone who is preparing to go BR should take professional advice anyway to see if there are any other options.
However i must stress that i have never known a judge to refuse a Bankruptcy order, its not very common.