Only issues related to federal constitutional violations (with the exception of Fourth Amendment claims) may be raised in a 2254 petition. The federal court will not consider issues based solely on state law. Also, the federal court cannot consider any claims that were not first presented to the highest state court. You must exhaust all of your state court remedies first.